package com.lukk.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import com.lukk.pojo.Worker;

/**
 * 
 * IWorkerService 上午10:26:52
 * 
 * Copyright zhaocj Inc. All rights reserved.
 * Love ME Like Justin Bieber.
 */
public interface IWorkerService {

	public Map<String, Object> selectByProvinceAndName(Integer offset, Integer limit, String sort, String order,
			String beginTime, String endTime, Integer status, String provinceCode, String workerName,
			String phoneNumber, Integer isDisable);
	public boolean modifyByPrimaryKey(Worker worker);
	public Map<String, Object> selectAllProvinceWorkersForInternalWorker(Integer offset, Integer limit, String sort,
			String order, String beginTime, String endTime, Integer status, String provinceName, String workerName,
			String phoneNumber, Integer isDisable, HttpSession session);

	public Worker selectByPrimaryKey(Integer workerId);

	Map<String, Object> selectByProvinceAndStatus(Integer offset, Integer limit, String sort, String order,
			String provinceName, String workerName, String typeValue, String phoneNumber, String queryType,
			HttpSession session);

	public Map<String, Object> selectWorkersByProvinceCode(Integer queryType, String provinceCode, Integer limit, Integer offset);

	public Map<String, Object> selectWorkerWithDrawalInfo(Integer offset, Integer limit, String beginTime,
			String endTime, Integer withdrawalStatus, String provinceCode, String workerName, String phoneNumber, HttpSession session);

	public List<Integer> selectAllocatedReduce(String workerID);
}
